package com.lanou.mapper;

import com.lanou.bean.City;

import java.util.List;

public interface CityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(City record);

    int insertSelective(City record);

    City selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(City record);

    int updateByPrimaryKey(City record);

    //根据省id查询市信息
    List<City> findAllCityByProvinceId(Integer provinceid);

    //根据市id查询市名字
    String selectCityByC(Integer cityId);
}